Service Layer
Multiple load tests were conducted for Service Layer REST APIs with a 4-JVM cluster. The objective of the test was to determine the maximum sustainable throughput while keeping database server health within acceptable limits. The cluster topology consisted of 2 JVMs deployed across two virtual machines, which were load balanced using a virtual load balancer. Throughput was observed to be 100 requests per second when tested with 250 concurrent users. The total test duration was 70 minutes, consisting of a 10-minute ramp-up period followed by a 60-minute steady-state execution window used for performance measurements.
DB connection pool size:
| # |
Data Source Name |
Parameters |
|---|---|---|
| 1 |
SERVICEDATASOURCE |
Initial Capacity = 150 Maximum Capacity = 150 Minimum Capacity = 150 |
JVM Additional Parameters:
-XX:+UseG1GC -Xms4g -Xmx4g
Service.Properties
-
application.configurationCacheTimeout=0
-
Time to cache businessrules, in minutes, before checking data source for updates.
# For value < 0, never check for updates.
# For value = 0, never check for updates.
# For value > 0, check for updates after specified minutes have passed.
-
-
Application Mode= PRODUCTION
-
jpa.showSql=false
Results
Note: Please note that above mentioned properties are suggested purely based on transaction configuration, list of SQLs involved and hardware specifications. This can vary depending on configuration/dump size and hardware specifications.
Service Layer on Oracle DB:
CPU Utilization of DB:
CPU Utilization of Application:
Memory Utilization of DB:
Memory Utilization of Applications: